package com.example.activity.implicitintent;

import java.io.Serializable;

public class User implements Serializable {
    private int id;
    private String username;
    private String phone;

    public User() {
    }

    public User(String username, String phone) {
        this.username = username;
        this.phone = phone;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "username=" + username +
                ", phone=" + phone + '}';
    }
}
